package com.jyuxuan.recruitment.mapper;

import com.jyuxuan.recruitment.pojo.Major;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MajorMapper {

    @Select("Select * from major where cid=#{cid}")
    public List<Major> findByCid(int cid);

}
